package com.sabm.model;
import org.codehaus.jackson.annotate.JsonIgnore;
public class Role implements java.io.Serializable{
	private Integer idRole;
    private Account account;
    private String role;
    
    public Role() {
    }

    public Role(String role) {
        this.setRole(role);
     }
    public Role(Account account, String role) {
       this.setAccount(account);
       this.setRole(role);
    }

	public Integer getIdRole() {
		return idRole;
	}

	public void setIdRole(Integer idRole) {
		this.idRole = idRole;
	}
	@JsonIgnore
	public Account getAccount() {
		return account;
	}

	public void setAccount(Account account) {
		this.account = account;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}
}
